package com.zscat.mallplus.service.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zscat.mallplus.entity.vo.pms.PmsProductConsultVo;
import com.zscat.mallplus.entity.vo.pms.PrimaryClassification;
import com.zscat.mallplus.entity.vo.pms.VideoVo;
import com.zscat.mallplus.pms.entity.PmsGoodsService;
import com.zscat.mallplus.pms.entity.PmsProductConsult;
import com.zscat.mallplus.utils.CommonResult;
import com.zscat.mallplus.vo.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 产品咨询表 服务类
 * </p>
 *
 * @author zscat
 * @since 2019-04-19
 */
public interface IPmsProductConsultService extends IService<PmsProductConsult> {

    List<PrimaryClassification> getAllGoodsType();

    void getAllGoodsTypes();

    List<Object> combination(Long id);

    List<PmsGoodsService> getGoodsService(String ids);

    PageInfo<PmsProductConsult> getGoodsEvaluation(Long goodsId, Long inquireType, Integer pageNum, Integer pageSize);

    PageInfo<PmsProductConsultVo> isPraise(Integer pageNum, Integer pageSize, Long memberId, List<PmsProductConsultVo> goodsEvaluation);

    List<PmsProductConsultVo> getNodeConsult(PageInfo<PmsProductConsult> goodsEvaluation);

    CommonResult fileUpload(MultipartFile[] files);

    CommonResult videoUpload(MultipartFile file);

    String fileUpload(String url);
}
